package com.yjp.service;

import com.yjp.mapper.OrderMapper;
import com.yjp.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

@Component
public class UserService {
    @Autowired
    private UserMapper userMapper;
    @Autowired
    private OrderMapper orderMapper;
    public void test(){
        System.out.println(userMapper.getUser());
        System.out.println(orderMapper.getUser());
    }
}
